package com.ygqh.baby.service;
import java.util.List;

import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.model.YgProductRecommendModel;
import  com.ygqh.baby.po.YgProductRecommend;

public interface YgProductRecommendService {

    
    List<YgProductRecommend> find();
	int findCount();
	YgProductRecommend findById(Long id);
	
	YgProductRecommend findByGroupId(Long groupId);
	
	List<YgProductRecommendModel> findProductByGroupId(QueryInfo queryInfo, Long groupId);
	
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(YgProductRecommend ygProductRecommend );
	int update(YgProductRecommend ygProductRecommend);
	int saveOrUpdate(YgProductRecommend ygProductRecommend);
	ResultSet<YgProductRecommend> search(QueryInfo queryInfo,String q);
	
    
}
